package com.shuiyun.chat.entity.message;

import com.shuiyun.chat.enums.MessageType;
import lombok.*;

/**
 * @author shuiyun
 * @program oicq
 * @description 登录消息
 * @create 2021-05-12 16:44
 **/
@AllArgsConstructor
@NoArgsConstructor
@Builder
@EqualsAndHashCode(callSuper = true)
@Data
public class LoginRequestMessage extends Message {

    private String userName;

    private String password;

    private String nickName;

    @Override
    public int getMessageType() {
        return MessageType.LOGIN_REQUEST_MESSAGE.getType();
    }
}
